<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>简介</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.trader.html">Trader</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="trader.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.trader.html">Trader</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intro.trader" class="preface">
  <h1 class="title">简介</h1>
  <p class="para">
   The trader extension is a free open source stock library based on TA-Lib. It&#039;s dedicated to trading software developers requiring to perform technical analysis of financial market data. Alongside many indicators like ADX, MACD, RSI, Stochastic, TRIX the candlestick pattern recognition and several vector arithmetic and algebraic functions are present.
  </p>
  <p class="para">
   Calculations can be done in two modes - TA-Lib and Metastock. Changing it using <a href="function.trader-set-compat.html" class="link">trader_set_compat()</a> will affect the way some trader functions work.
  </p>
  <p class="para">
  Some trader functions provide different results depending of the &quot;starting point&quot; of the data being involved. This is often referred as a function having memories. An example of such function is the Exponential Moving Average. It is possible to control the unstable period (the amount of data to strip off) using <a href="function.trader-set-unstable-period.html" class="link">trader_set_unstable_period()</a> function.
  </p>
  <p class="para">
   Extended documentation about indicators, formulas and implementations in other programming languages can be found under <a href="http://tadoc.org/" class="link external">&raquo;&nbsp;tadoc.org</a>.
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="book.trader.html">Trader</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="trader.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.trader.html">Trader</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
